package com.example.demo.mapper;


import com.example.demo.entity.Person;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface PersonMapper extends Mapper<Person> {

//  List<Person> findPersonList(Page<Person> page, @Param("entity") Person person);
  List<Person> findPersonList(@Param("entity") Person person);

  default void outPersonInfo(String name) {
    System.out.println(name);
  }
}
